class AddUserTestData < ActiveRecord::Migration
  def self.up
    User.create(:user_name => "admin",
      :email => "me.rorgeek@gmail.com",
      :first_name => "admin",
      :last_name => "admin",
      :user_icon_url => '/images/admin_icon.jpg',
      :gender => 1)

    User.create(:user_name => "a.zhou",
      :email => "yi.zyz2009@gmail.com",
      :first_name => "Amy",
      :last_name => "Zhou",
      :user_icon_url => '/images/generaluser_001.jpg',
      :gender => 1)

    User.create(:user_name => "cc2009",
      :email => "hank.infotec@gmail.com",
      :first_name => "Emma",
      :last_name => "Zhang",
      :user_icon_url => '/images/generaluser_000.jpg',
      :gender => 1)
  end

  def self.down
    User.delete_all
  end
end
